home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3c / pcreate.z / pcreate
Encoding:
Text File  |  1998-10-20  |  4.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4. PPPPCCCCRRRREEEEAAAATTTTEEEE((((3333CCCC))))                                                        PPPPCCCCRRRREEEEAAAATTTTEEEE((((3333CCCC))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      pcreate: pcreatel, pcreatev, pcreateve, pcreatelp, pcreatevp - create a
  10.      process
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      ####iiiinnnncccclllluuuuddddeeee <<<<uuuunnnniiiissssttttdddd....hhhh>>>>
  14.  
  15.      iiiinnnntttt ppppccccrrrreeeeaaaatttteeeellll((((ccccoooonnnnsssstttt cccchhhhaaaarrrr ****ppppaaaatttthhhh,,,, ccccoooonnnnsssstttt cccchhhhaaaarrrr ****aaaarrrrgggg0000,,,, ............,,,,
  16.                ccccoooonnnnsssstttt cccchhhhaaaarrrr ****aaaarrrrggggnnnn,,,, 0000))));;;;
  17.  
  18.      iiiinnnntttt ppppccccrrrreeeeaaaatttteeeevvvv((((ccccoooonnnnsssstttt cccchhhhaaaarrrr ****ppppaaaatttthhhh,,,, cccchhhhaaaarrrr **** ccccoooonnnnsssstttt ****aaaarrrrggggvvvv))));;;;
  19.  
  20.      iiiinnnntttt ppppccccrrrreeeeaaaatttteeeevvvveeee((((ccccoooonnnnsssstttt cccchhhhaaaarrrr ****ppppaaaatttthhhh,,,, cccchhhhaaaarrrr **** ccccoooonnnnsssstttt ****aaaarrrrggggvvvv,,,,           cccchhhhaaaarrrr ****
  21.      ccccoooonnnnsssstttt****eeeennnnvvvvpppp))));;;;
  22.  
  23.      iiiinnnntttt ppppccccrrrreeeeaaaatttteeeellllpppp((((ccccoooonnnnsssstttt cccchhhhaaaarrrr ****ffffiiiilllleeee,,,, ccccoooonnnnsssstttt cccchhhhaaaarrrr ****aaaarrrrgggg0000,,,, ............,,,,
  24.                ccccoooonnnnsssstttt cccchhhhaaaarrrr ****aaaarrrrggggnnnn,,,, 0000))));;;;
  25.  
  26.      iiiinnnntttt ppppccccrrrreeeeaaaatttteeeevvvvpppp((((ccccoooonnnnsssstttt cccchhhhaaaarrrr ****ffffiiiilllleeee,,,, cccchhhhaaaarrrr **** ccccoooonnnnsssstttt ****aaaarrrrggggvvvv))));;;;
  27.  
  28. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  29.      _pppp_cccc_rrrr_eeee_aaaa_tttt_eeee in all its forms creates a new process and runs the requested
  30.      program.  These routines are equivalent to a _ffff_oooo_rrrr_kkkk(2) and _eeee_xxxx_eeee_cccc(2) pair
  31.      except that the caller incurs only a small logical swap space penalty
  32.      compared to _ffff_oooo_rrrr_kkkk.  _pppp_cccc_rrrr_eeee_aaaa_tttt_eeee (using _ssss_pppp_rrrr_oooo_cccc(2)) requires that the calling
  33.      process have enough virtual space left (see _ssss_eeee_tttt_rrrr_llll_iiii_mmmm_iiii_tttt(2)) to create a
  34.      temporary 32K stack for the new process.  This new stack also requires
  35.      system logical swap space.  A _ffff_oooo_rrrr_kkkk on the other hand duplicates the
  36.      calling process, which requires the system to reserve logical swap space
  37.      for all modifiable portions of the calling process.  A very large process
  38.      may not be allowed to _ffff_oooo_rrrr_kkkk due to insufficient backing store (swap area).
  39.  
  40. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  41.      fork(2), exec(2), prctl(2), setrlimit(2), sproc(2).
  42.  
  43. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  44.      all diagnostics are from either _ssss_pppp_rrrr_oooo_cccc(2) or _eeee_xxxx_eeee_cccc(2).
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.